﻿namespace PMS.Web.Framework.Validators
{
    public static class ValidatorRuleString
    {
        /// <summary>
        /// 数据精度校验
        /// </summary>
        public static string Validators_MaxDecimal => "请检查要存储的数据字段： 小数点后数字允许的最大数值为 {0} 位";
        #region Login/Register
        /// <summary>
        /// 登录密码/注册密码校验：根据CustomerSettings规则增减
        /// 1: 是否长度限制
        /// 2：是否包含大写字母限制
        /// 3：是否包含小写字母限制
        /// 4：是否包含数字限制
        /// 5：是事包含特殊字符限制
        /// </summary>
        public static string Validation_PasswordRule => "密码设置不符合系统设置规则：{0}{1}{2}{3}{4}";
        public static string Validation_PasswordLengthValidation => "长度应在{0}-{1}位之间,";
        public static string Validation_PasswordRequireUppercase => "应至少包含一位大写字符,";
        public static string Validation_PasswordRequireLowercase => "应至少包含一位小写字符,";
        public static string Validation_PasswordRequireDigit => "应至少包含一位数字,";
        public static string Validation_PasswordRequireNonAlphanumeric => "应至少包含以下一位特殊字符 #?!@$%^&*- ,";
        public static string Validation_PasswordNotEmpty => "输入密码不能为空";
        public static string Validation_ConfirmPasswordNotMatch => "两次输入密码不一致";
        public static string Validators_MobilePhone => "手机号码不符合校验规则";
        public static string EmailRequired => "邮箱地址不能为空";
        public static string Validators_Email => "邮箱格式校验不正确";
        #endregion

        public static string FieldRequired => "{0}不能为空";

        #region SystemModuleModel
        public static string RouteUrlRequiredWhenSystemModule => "系统模块非'无链接导航'时不能为空";
        public static string ModuleButtonsEmptyWhenNaviMenu => "'无链接导航'不能分配功能按钮";
        public static string LimitedStoresEmptyWhenNaviMenu => "'无链接导航'不能分配所属店铺";
        #endregion

        #region SendCustomerEmail
        public static string RequireEmailBindtoAccountWhenSendEmail = "用户未绑定邮箱,无法发送邮件";
        #endregion
    }
}
